package com.wjpeng.wms.service;

import com.wjpeng.wms.domain.Employee;
import com.wjpeng.wms.query.EmployeeQueryObject;
import com.wjpeng.wms.query.QueryObject;
import com.wjpeng.wms.util.PageResult;

import java.util.List;

public interface IEmployeeService {
    void saveOrUpdate(Employee d, Long[] roleIds);

    void delete(Long id);

    Employee get(Long id);

    List<Employee> list();

    PageResult result(EmployeeQueryObject qo);

    void login(String username, String password);
}
